<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>MIS Login</title>
		<link href="<s:url value="/style.css"/>" rel="stylesheet" type="text/css"/>
		<sx:head/>
	</head>
	<body>
	<jsp:include page="/navigation/loginNavigation.jsp"/>
	
		<center>
			<div id = "login_head">
				<h2>Welcome to Hospital System</h2>
			</div>
		</center>
		<center>
			<div id = "login_main">
				<s:form action="userLogin" method = "post" namespace="/" >
					<s:textfield label= "Username" name = "username" />
					<s:password label="Password" name = "password" />
					<s:submit value="Login" />
				</s:form>
			<p id = "error_message"><s:property value="errorMessage" /></p>
			</div>
		</center>
	
	</body>

</html>